import { SearchModel } from "../../models";
import req, { RequsetOptons } from "../../req";

export enum Api {
  getAllApplys = "api/system/applicationForms/page",
  exportExcel = "api/system/applicationForms/export",
}

export function exportExcel(data: SearchModel, options: RequsetOptons) {
  return req.post<Blob>(
    {
      url: Api.exportExcel,
      responseType: "blob",
      data,
    },
    options
  );
}
